import request from '@/utils/request'

// 查询客户运营列表
export function listCustomerOperation(query) {
  return request({
    url: '/prod-api/customer/CustomerOperation/list',
    method: 'get',
    params: query
  })
}

// 查询客户运营详细
export function getCustomerOperation(operationUid) {
  return request({
    url: '/prod-api/customer/CustomerOperation/' + operationUid,
    method: 'get'
  })
}

// 新增客户运营
export function addCustomerOperation(data) {
  return request({
    url: '/prod-api/customer/CustomerOperation',
    method: 'post',
    data: data
  })
}

// 修改客户运营
export function updateCustomerOperation(data) {
  return request({
    url: '/prod-api/customer/CustomerOperation',
    method: 'put',
    data: data
  })
}

// 删除客户运营
export function delCustomerOperation(operationUid) {
  return request({
    url: '/prod-api/customer/CustomerOperation/' + operationUid,
    method: 'delete'
  })
}


